package com.castle.fortress.admin.oa.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * 日数据报表 实体类
 *
 * @author whc
 * @since 2022-11-04
 */
@Data
@ApiModel(value = "dayStatistics对象", description = "日数据报表")
public class DayStatisticsDto implements Serializable {
	private static final long serialVersionUID = 1L;
	@JsonSerialize(using = ToStringSerializer.class)
	@ApiModelProperty(value = "ID")
	@JsonProperty("id")
	private Long id;
	@ApiModelProperty(value = "日期")
	@JsonProperty("date")
	private String date;
	@JsonSerialize(using = ToStringSerializer.class)
	@ApiModelProperty(value = "用户")
	@JsonProperty("userId")
	private Long userId;
	@JsonSerialize(using = ToStringSerializer.class)
	@ApiModelProperty(value = "部门")
	@JsonProperty("deptId")
	private Long deptId;
	@JsonSerialize(using = ToStringSerializer.class)
	@ApiModelProperty(value = "所属规则")
	@JsonProperty("settId")
	private Long settId;
	@ApiModelProperty(value = "")
	@JsonProperty("status")
	private Integer status;
	@JsonProperty("deptIdName")
	private String deptIdName;

	@JsonProperty("username")
	private String username;
	/**
	 * 有数据权限的部门 筛选用
	 */
	private List<Long> authDept;

	/**
	 * 关联考勤设置
	 */
	private String setName;

}
